import apibase from "@/api/apiBase";
import axios from "axios";

//获取图片验证码接口
export const $captcha = (params: any) => {
  const $server = new apibase();
  const instance = axios.create();
  return $server.get({
    url: '/travel/api/getCaptcha',
    data: params,
    instance,
  });
}